package org.fisco.bcos.asset.resp;

import java.math.BigInteger;

public class Application {

       private BigInteger applicationId;
       private String description;
       private String donor;
       private BigInteger amount;
       private String approved;
       private BigInteger timestamp;

    public BigInteger getApplicationId() {
        return applicationId;
    }

    public void setApplicationId(BigInteger applicationId) {
        this.applicationId = applicationId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDonor() {
        return donor;
    }

    public void setDonor(String donor) {
        this.donor = donor;
    }

    public BigInteger getAmount() {
        return amount;
    }

    public void setAmount(BigInteger amount) {
        this.amount = amount;
    }

    public String getApproved() {
        return approved;
    }

    public void setApproved(String approved) {
        this.approved = approved;
    }

    public BigInteger getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(BigInteger timestamp) {
        this.timestamp = timestamp;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("Application{");
        sb.append("applicationId='").append(applicationId).append('\'');
        sb.append(", description='").append(description).append('\'');
        sb.append(", donor='").append(donor).append('\'');
        sb.append(", amount='").append(amount).append('\'');
        sb.append(", approved='").append(approved).append('\'');
        sb.append(", timestamp='").append(timestamp).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
